package com.coocaa.ops.admin.base.annotation;

import com.coocaa.ops.admin.v1.auth.sys.constant.MenuTokenConstants;

import java.lang.annotation.*;

/**
 * @author tangminghong
 * @date 2020-06-11
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Inherited
public @interface Config {

    /**
     * 菜单模块编号
     * 当前类需要通过那个菜单ELID来验证其操作权限
     * @see MenuTokenConstants
     * @return
     */
    String[] menuToken() default "";
}
